package com.easywan.vo;

import java.util.Date;
import com.easywan.vo.base.BaseModel;

public class Article extends BaseModel implements java.io.Serializable {

    /** looks */
    private Integer looks = 0;

    /** agrees */
    private Integer agrees = 0;

    /** uid */
    private Integer uid;

    /** title */
    private String title;

    /** context */
    private String context;

    /** type */
    private Integer type;

    /** flags */
    private Object flags;

    /** cover */
    private String cover;



    /**
     * 获取 looks 的值
     * @return Integer
     */
    public Integer getLooks() {
        return looks;
    }
    
    /**
     * 设置looks 的值
     * @param Integer looks
     */
    public Article setLooks(Integer looks) {
        this.looks = looks;
        return this;
    }

    /**
     * 获取 agrees 的值
     * @return Integer
     */
    public Integer getAgrees() {
        return agrees;
    }
    
    /**
     * 设置agrees 的值
     * @param Integer agrees
     */
    public Article setAgrees(Integer agrees) {
        this.agrees = agrees;
        return this;
    }

    /**
     * 获取 uid 的值
     * @return Integer
     */
    public Integer getUid() {
        return uid;
    }
    
    /**
     * 设置uid 的值
     * @param Integer uid
     */
    public Article setUid(Integer uid) {
        this.uid = uid;
        return this;
    }

    /**
     * 获取 title 的值
     * @return String
     */
    public String getTitle() {
        return title;
    }
    
    /**
     * 设置title 的值
     * @param String title
     */
    public Article setTitle(String title) {
        this.title = title;
        return this;
    }

    /**
     * 获取 context 的值
     * @return String
     */
    public String getContext() {
        return context;
    }
    
    /**
     * 设置context 的值
     * @param String context
     */
    public Article setContext(String context) {
        this.context = context;
        return this;
    }

    /**
     * 获取 type 的值
     * @return Integer
     */
    public Integer getType() {
        return type;
    }
    
    /**
     * 设置type 的值
     * @param Integer type
     */
    public Article setType(Integer type) {
        this.type = type;
        return this;
    }

    /**
     * 获取 flags 的值
     * @return Object
     */
    public Object getFlags() {
        return flags;
    }
    
    /**
     * 设置flags 的值
     * @param Object flags
     */
    public Article setFlags(Object flags) {
        this.flags = flags;
        return this;
    }

    /**
     * 获取 cover 的值
     * @return String
     */
    public String getCover() {
        return cover;
    }
    
    /**
     * 设置cover 的值
     * @param String cover
     */
    public Article setCover(String cover) {
        this.cover = cover;
        return this;
    }


	public String toString() {
        StringBuffer sb = new StringBuffer();
        sb.append(this.getClass().getName());
        sb.append("; id=" + (id == null ? "null" : id.toString()));
        sb.append("; createtime=" + (createtime == null ? "null" : createtime.toString()));
        sb.append("; modifytime=" + (modifytime == null ? "null" : modifytime.toString()));
        sb.append("; looks=" + (looks == null ? "null" : looks.toString()));
        sb.append("; agrees=" + (agrees == null ? "null" : agrees.toString()));
        sb.append("; uid=" + (uid == null ? "null" : uid.toString()));
        sb.append("; title=" + (title == null ? "null" : title.toString()));
        sb.append("; context=" + (context == null ? "null" : context.toString()));
        sb.append("; type=" + (type == null ? "null" : type.toString()));
        sb.append("; flags=" + (flags == null ? "null" : flags.toString()));
        sb.append("; cover=" + (cover == null ? "null" : cover.toString()));

        return sb.toString();
    }
}